package observe.pojo;

public class BinaryObserve extends Observe{
    public BinaryObserve(Subject subject){
        this.subject = subject;
        this.subject.attach(this);
    }
    @Override
    public void update() {
        System.out.println("Binary String :"+Integer.toBinaryString(subject.getStatus()));
    }
}
